POV-Ray : Newsgroups : povray.general : A macro that drops a vector-- what's the syntax again? : Re: A macro that drops a vector-- what's the syntax again? Server Time
1 Aug 2024 10:14:23 EDT (-0400)
  Re: A macro that drops a vector-- what's the syntax again?  
From: kurtz le pirate
Date: 10 Nov 2005 01:01:53
Message: <kurtzlepirate-B61563.07015210112005@news.povray.org>
In article <4372b765@news.povray.org>,
 "Greg M. Johnson" <p t e r a n d o n @ 
 thecommononethatstartswithY.com> wrote:

::I cannot get the following code to work:
::
:://-----------------------------
::#macro sign(a)
::#if (a<0)
::        (-a)
::#else
::        (a)
::#end
::#end

... abs() already exist in pov


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.